<?php
//html_entity_decode(string $string, int $flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401, ?string $encoding = null): string
//html_entity_decode — Convert HTML entities to their corresponding characters
$str = "I'll &quot;walk&quot; the &lt;b&gt;dog&lt;/b&gt; now";

$oo = html_entity_decode($str);
echo $oo;
